package br.com.hotel.dao;

import java.util.ArrayList; 
import java.util.List;

import br.com.hotel.entity.Diaria;
import br.com.hotel.entity.Service;

public class ServiceDAO extends GenericJpaRepository<Service, Long>{

	public ServiceDAO() throws ClassNotFoundException{
		createEntityManager();
	}
	
	public List<Service> getServices(){
		
		return findAll();
	}
	
}